'use strict'



class add {
  constructor() {
    this.param = '/'
  }

  async get(c) {
    let a = c.service.fun;

    c.setHeader('content-type', 'text/html; charset=utf-8')
    let data =await a.sel('comment_list','',[],c.service.pool);
    c.send({
      type:'array',
      data:data.rows
    })
  }

  
}

module.exports = add;

